package com.aaa.three.service;

import com.aaa.three.entity.AddReg;
import com.alipay.api.AlipayApiException;

import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.io.IOException;

public interface PayService {
    String payPat(AddReg addReg) throws AlipayApiException;

    String payAgain(Integer id,Integer price) throws AlipayApiException;

    void outPay(Integer id, Integer price, HttpServletResponse response) throws Exception;
}
